using LiJ.Common.Core;

namespace LiJ.Framework.Official
{
	/// <summary>
	/// 接口返回基础实例
	/// </summary>
	public class WxBaseResp : ResultMo
	{
		private int _mErrcode;

		/// <summary>
		///  错误代码
		/// </summary>
		public int Errcode
		{
			get => this._mErrcode;
		    set
			{
				this._mErrcode = value;
				if (this._mErrcode != 0)
				{
					base.Ret = this._mErrcode;
				}
			}
		}

		/// <summary>
		///   错误信息
		/// </summary>
		public string Errmsg
		{
			get;
			set;
		}
	}
}
